package mini.statement;

import mini.expr.Element;

/**
 * A return exception is used to convey the return value
 * of a procedure.
 * @author Jennifer
 *
 */
public class ReturnException extends Exception {

	private Element elem = null;
	
	public ReturnException( Element elem ) {
		this.elem = elem;
	}
	
	public Element getElement() {
		return elem;
	}
}
